package com.lagou.service.impl;

import com.lagou.service.HelloServiceA;
import com.lagou.service.HelloServiceB;
import org.apache.dubbo.rpc.RpcContext;

import java.util.concurrent.TimeUnit;


public class HelloServiceAImpl implements HelloServiceA {
    @Override
    public String sayHello(String name){
        Object ip2 = RpcContext.getContext().getAttachment("ip");
        System.out.println(ip2);
        return "service A hello:"+name;
    }
}
